package cn.growthgate.fgo.entity.enums;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IEnum;

public enum ServantFaction implements IEnum {

	HEAVEN(0, "天"),
	EARTH(1, "地"),
	MAN(2, "人"),
	STAR(3, "星"),
    BEAST(4, "兽");

	private int value;
	private String desc;

	private ServantFaction(final int value, final String desc) {
		this.value = value;
		this.desc = desc;
	}

	@Override
	public Serializable getValue() {
		return value;
	}

	public String getDesc() {
		return desc;
	}

	@Override
	public String toString() {
		return getDesc();
	}
	
}
